package db

type Option struct {
	MongoInit bool
	MysqlInit bool
	RedisInit bool
}

func Init(option ...Option) {
	for _, opt := range option {
		if opt.MongoInit {
			mongoInit()
		}
		if opt.MysqlInit {
			mysqlInit()
		}
		if opt.RedisInit {
			redisInit()
		}
	}
}
